package com.spring.app.common.filters;

public enum Role {
	
	PREMIUM_ROLE("ROLE_PREMIUM", 1), COMMON_ROLE("ROLE_COMMON", 2);

    private final int order;
    private final String roleName;

    private Role(final String roleName, final int order) {
        this.roleName = roleName;
        this.order = order;
    }

    public int order() {
        return order;
    }

    public String roleName() {
        return roleName;
    }
}
